package com.cinematicketscaning.app.controller

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.cinematicketscaning.app.R
import com.cinematicketscaning.app.adapter.MyExpandableListAdapter
import com.cinematicketscaning.app.controller.base.BaseActivity
import kotlinx.android.synthetic.main.activity_introduce.*

class IntroduceActivity : BaseActivity() {

    lateinit var adapter: MyExpandableListAdapter
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_introduce)
        initView()
    }

    private fun initView() {
        adapter = MyExpandableListAdapter(this)
        elistview.setAdapter(adapter)

        img_back.setOnClickListener {
            finish()
        }
    }
}
